package com.game.animation;

import com.game.basic.BasicRegion;

/**
* @author oven:
* @version 创建时间：2012-11-5 下午7:57:40
* 
*/
public class AnimationFix {
	private BasicRegion referenceRegion;
	private float transx=0;
	private float transy=0;
	private float alpha=0;
	private float roate=0;
	private float scalex=0;
	private float scaley=0;
	
	public AnimationFix(BasicRegion referenceRegion){
		this.referenceRegion=referenceRegion;
	}
	
	public void reset(){
		resetTransform();
		resetScale();
		alpha=0;
		roate=0;
	}
	
	public void resetTransform(){
		transx=0;
		transy=0;
	}
	
	public void resetScale(){
		scalex=0;
		scaley=0;
	}
	
	public float getTransx() {
		return transx;
	}
	public void setTransx(float transx) {
		this.transx = transx;
	}
	public float getTransy() {
		return transy;
	}
	public void setTransy(float transy) {
		this.transy = transy;
	}
	public float getAlpha() {
		return alpha;
	}
	public void setAlpha(float alpha) {
		this.alpha = alpha;
	}
	public float getRoate() {
		return roate;
	}
	public void setRoate(float roate) {
		this.roate = roate;
	}
	public float getScalex() {
		return scalex;
	}
	public void setScalex(float scalex) {
		this.scalex = scalex;
	}
	public float getScaley() {
		return scaley;
	}
	public void setScaley(float scaley) {
		this.scaley = scaley;
	}
	public BasicRegion getReferenceRegion() {
		return referenceRegion;
	}
	public void setReferenceRegion(BasicRegion referenceRegion) {
		this.referenceRegion = referenceRegion;
	}
}

